package com.aoxin.model.course;

import com.aoxin.model.SlfChildExpectedTime;

import java.io.Serializable;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

public class SlfChildren implements Serializable {

	private static final long serialVersionUID = 8274447626396156291L;
	/**
	 * key
	 */
	private String key;

	private Integer childrenId; // 孩子ID

	private String name; // 姓名

	private String childrenQrCode;// 孩子二维码

	private Integer schoolId; // 学校ID

	private String schoolName; // 学校名称

	private Integer userId; // 用户ID

	private String userName; // 用户名称

	private Integer sex; // 孩子性别

	private Date birthday; // 出生日期

	private String headPortrait; // 头像

	private String age; // 年龄

	private String hobby; // 爱好

	private Integer sequence; // 排序号

	private Date createDate; // 创建时间

	private String birthdayStr;
	private BigDecimal height; //身高
	
	private BigDecimal weight;//体重

	private Map<String,Object> slfChildExpectedTimeList;//期望上可时间
	
	
	private Integer vipLv;
	
	
	private Date vipEffectiveTime;
	
	//查询
	private String childrenName;
	

	public String getChildrenName() {
		return childrenName;
	}

	public void setChildrenName(String childrenName) {
		this.childrenName = childrenName;
	}

	public Date getVipEffectiveTime() {
		return vipEffectiveTime;
	}

	public void setVipEffectiveTime(Date vipEffectiveTime) {
		this.vipEffectiveTime = vipEffectiveTime;
	}

	public Integer getVipLv() {
		return vipLv;
	}

	public void setVipLv(Integer vipLv) {
		this.vipLv = vipLv;
	}


	private List<SlfMyCourse> childrenCourse = new ArrayList<SlfMyCourse>(); // 孩子课程

	private List<SlfMyCoursePage> childrenCoursePage = new ArrayList<SlfMyCoursePage>(); // 孩子课程包B类
	
	private List<SchoolCoursePage> SchoolCoursePage = new ArrayList<SchoolCoursePage>(); //C类
	
	private Integer state;
	private List<Map<String,Object>> surplusClassHourList=new ArrayList<Map<String,Object>>();
	
	public List<Map<String, Object>> getSurplusClassHourList() {
		return surplusClassHourList;
	}

	public void setSurplusClassHourList(List<Map<String, Object>> surplusClassHourList) {
		this.surplusClassHourList = surplusClassHourList;
	}
	
	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public List<SchoolCoursePage> getSchoolCoursePage() {
		return SchoolCoursePage;
	}

	public void setSchoolCoursePage(List<SchoolCoursePage> schoolCoursePage) {
		SchoolCoursePage = schoolCoursePage;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	
	private List<Map<String,Object>> myChildrenCoursePage=new ArrayList<Map<String,Object>>();
	
	
	
	
	public List<Map<String, Object>> getMyChildrenCoursePage() {
		return myChildrenCoursePage;
	}

	public void setMyChildrenCoursePage(List<Map<String, Object>> myChildrenCoursePage) {
		this.myChildrenCoursePage = myChildrenCoursePage;
	}

	public BigDecimal getWeight() {
		return weight;
	}

	public void setWeight(BigDecimal weight) {
		this.weight = weight;
	}

	public BigDecimal getHeight() {
		return height;
	}

	public void setHeight(BigDecimal height) {
		this.height = height;
	}

	public Integer getChildrenId() {
		return childrenId;
	}

	public void setChildrenId(Integer childrenId) {
		this.childrenId = childrenId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	public Integer getSchoolId() {
		return schoolId;
	}

	public void setSchoolId(Integer schoolId) {
		this.schoolId = schoolId;
	}

	public String getSchoolName() {
		return schoolName;
	}

	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName == null ? null : schoolName.trim();
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName == null ? null : userName.trim();
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
		this.birthdayStr = sdf.format(birthday);
		this.birthday = birthday;
	}

	public String getHeadPortrait() {
		return headPortrait;
	}

	public void setHeadPortrait(String headPortrait) {
		this.headPortrait = headPortrait == null ? null : headPortrait.trim();
	}

	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}

	public String getHobby() {
		return hobby;
	}

	public void setHobby(String hobby) {
		this.hobby = hobby == null ? null : hobby.trim();
	}

	public Integer getSequence() {
		return sequence;
	}

	public void setSequence(Integer sequence) {
		this.sequence = sequence;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getChildrenQrCode() {
		return childrenQrCode;
	}

	public void setChildrenQrCode(String childrenQrCode) {
		this.childrenQrCode = childrenQrCode;
	}

	public List<SlfMyCourse> getChildrenCourse() {
		return childrenCourse;
	}

	public void setChildrenCourse(List<SlfMyCourse> childrenCourse) {
		this.childrenCourse = childrenCourse;
	}

	public List<SlfMyCoursePage> getChildrenCoursePage() {
		return childrenCoursePage;
	}

	public void setChildrenCoursePage(List<SlfMyCoursePage> childrenCoursePage) {
		this.childrenCoursePage = childrenCoursePage;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getBirthdayStr() {
		return birthdayStr;
	}

	public void setBirthdayStr(String birthdayStr) {
		this.birthdayStr = birthdayStr;
	}

	public Map<String, Object> getSlfChildExpectedTimeList() {
		return slfChildExpectedTimeList;
	}

	public void setSlfChildExpectedTimeList(Map<String, Object> slfChildExpectedTimeList) {
		this.slfChildExpectedTimeList = slfChildExpectedTimeList;
	}
}
